<!doctype html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
	<meta name="viewport" content="width=device-width, initial-scale=1.0">


</head>
<body>
	
	<script src="js/dist/screenlog.min.js"></script>
	<script>
	screenLog.init();
	screenLog.log('String: Hello world');
	screenLog.log('Numbers: ' + 124);
	screenLog.log(21, 'multiple arguments');
	screenLog.log('Arrays', [1, 2, 3]);
	screenLog.log('Objects', JSON.stringify({a: 3}));

	console.log('console.log also gets logged.')

	var i = 5;
	function log() {
		console.log('Future log', Date.now());
		if (--i) { setTimeout(log, 1000); }
	}
	log();
	</script>
</body>
</html>